@import 'var.scss';
@import 'mixin.scss';
// 聚学院-首页
.jxy-biaoti {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 40px 0 20px 0;
    .name {
        font-size: 22px;
        color: #000;
        font-weight: bold;
    }
    .more {
        font-size: 14px;
        color: $fc-gray;
    }
}

.jxy-zixun-list {
    display: flex;
    .zixun-item {
        width: 386px;
        margin-right: 20px;
        &:nth-child(3n) {
            margin-right: 0;
        }
        img {
            width: 100%;
            height: 200px;
            display: block;
        }
        .zixun-bottom {
            background-color: #fff;
            padding: 12px 9px;
            .title {
                font-size: 14px;
                color: $fc-base;
                margin-bottom: 10px;
            }
            .date {
                font-size: 12px;
                color: $fc-gray;
            }
            .name {
                text-align: center;
                font-size: 16px;
                color: $fc-base;
                padding: 5px 0;
                font-weight: bold;
            }
        }
    }
}

.jxy-ketang-list {
    display: flex;
    .ketang-item {
        width: 386px;
        height: 460px;
        margin-right: 20px;
        position: relative;
        &:nth-child(3n) {
            margin-right: 0;
        }
        img {
            width: 100%;
            height: 100%;
            display: block;
        }
        .ketang-bottom {
            position: absolute;
            padding-bottom: 20px;
            bottom: 20px;
            left: 30px;
            right: 30px;
            background-color: #fff;
            text-align: center;
            .title {
                font-size: 16px;
                color: $fc-base;
                font-weight: bold;
                margin: 30px 0 18px 0;
            }
            .date {
                font-size: 12px;
                color: $fc-gray;
                margin-bottom: 20px;
            }
            .goto {
                color: $fc-blue;
                font-size: 16px;
                color: $fc-blue;
                border: 2px solid $border-blue;
                width: 106px;
                text-align: center;
                display: block;
                line-height: 36px;
                margin: 0 auto;
                &:hover {
                    background-color: $bg-blue;
                    color: #fff;
                }
            }
        }
    }
}

.jxy-peixun-list {
    display: flex;
    .peixun-item {
        width: 285px;
        margin-right: 20px;
        &:nth-child(4n) {
            margin-right: 0;
        }
        img {
            width: 100%;
            height: 240px;
            display: block;
        }
        .peixun-bottom {
            background-color: #fff;
            text-align: center;
            padding: 18px 0 20px 0;
            .title {
                font-size: 16px;
                color: $fc-base;
                font-weight: bold;
            }
            .address {
                font-size: 12px;
                color: $fc-gray;
                margin: 16px 0 14px 0;
            }
            .date {
                font-size: 12px;
                color: $fc-gray;
                margin-bottom: 20px;
            }
            .baoming {
                color: $fc-blue;
                font-size: 16px;
                color: $fc-blue;
                border: 2px solid $border-blue;
                width: 106px;
                text-align: center;
                display: block;
                line-height: 36px;
                margin: 0 auto;
                &:hover {
                    background-color: $bg-blue;
                    color: #fff;
                }
            }
        }
    }
}

.jxy-luntan {
    display: flex;
    .img-wrap {
        position: relative;
        &.img1 {
            @include imgwrap(590px, 620px);
        }
        &.img2 {
            @include imgwrap(590px, 300px);
        }
        &:hover {
            .baoming-wrap {
                opacity: 1;
            }
        }
        .baoming-wrap {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, .5);
            opacity: 0;
            transition: all .5s;
            display: flex;
            align-items: center;
            justify-content: center;
            .baoming {
                background-color: transparent;
                border: 2px solid #fff;
                font-size: 28px;
                color: #fff;
                padding: 26px 92px;
            }
        }
    }
}

.jxy-adv {
    margin-top: 50px;
    @include imgwrap('100%', '300px');
}

// 聚学院-行业资讯
.jxy-zixun-adv {
    display: flex;
    img {
        display: block;
    }
    .img-wrap {
        &.img1 {
            @include imgwrap(900px, 540px);
        }
        &.img2 {
            @include imgwrap(280px, 260px);
        }
    }
}

.jxy-zixun-wrap {
    .zixun-head {
        margin-top: 40px;
        .btn {
            background-color: #f0f0f0;
            font-size: 14px;
            color: $fc-title-gray;
            padding: 13px 32px;
            margin-right: 20px;
            &.active {
                background-color: $bg-blue;
                color: #fff;
                font-weight: bold;
            }
        }
    }
    .zixun-list {
        li {
            display: flex;
            border-bottom: 1px solid $border-gray;
            padding: 20px 0;
            .img-wrap {
                @include imgwrap(240px, 165px);
            }
            .right-wrap {
                margin-left: 20px;
                position: relative;
                flex: 1;
            }
            .toux {
                width: 24px;
                height: 24px;
                border-radius: 50%;
            }
            .title {
                font-size: 16px;
                color: $fc-base;
                margin: 15px 0;
            }
            .desc {
                font-size: 14px;
                color: $fc-gray;
                line-height: 24px;
                height: 87px;
            }
            .view-wrap {
                display: flex;
                justify-content: space-between;
                align-items: center;
                position: absolute;
                left: 0;
                right: 0;
                bottom: 8px;
                font-size: 14px;
                color: $fc-gray;
                span {
                    display: flex;
                    align-items: center;
                }
                i,
                img {
                    margin-right: 8px;
                }
            }
        }
    }
}


/* 聚学院 通知 */

.notice_con {
    background: $bg-white;
    padding: 20px;
    margin-top: 20px;
    min-height: 700px;
    .notice_list {
        padding: 20px 0;
        border-bottom: 1px solid $border-gray-dark;
        .notice_item {
            position: relative;
            .notice_item_left {
                display: inline-block;
                vertical-align: middle;
                width: 240px;
                height: 165px;
                img {
                    width: 100%;
                    height: 100%;
                }
            }
            .el-icon-arrow-down {
                cursor: pointer;
                z-index: 99;
                position: absolute;
                right: 0;
                top: 0;
                &+.el-button {
                    position: absolute;
                    right: 0px;
                    top: 18px;
                    z-index: 999;
                }
            }
            .notice_item_con {
                width: 900px;
                height: 135px;
                padding: 15px 0px 15px 20px;
                margin-left: -4px;
                vertical-align: middle;
                display: inline-block;
                position: relative;
                h3 {
                    padding-bottom: 12px;
                    font-size: 16px;
                    font-weight: 500;
                }
                p {
                    line-height: 24px;
                    color: $fc-title-gray;
                    max-width: 100%;
                }
                .address {
                    position: absolute;
                    bottom: 10px;
                    color: $fc-title-gray;
                    .add_info {
                        font-weight: 600;
                        padding: 0px 15px 0px 5px;
                    }
                }
            }
        }
    }
}


/* 聚学院 热门圈子 */

.circle {
    margin-top: 20px;
    .el-tabs__nav-wrap::after {
        background-color: $fc-white;
    }
    .el-tabs__header {
        padding-left: 20px;
        margin: 0;
        background: $bg-white;
    }
    .el-tabs__active-bar {
        display: none;
        width: 80px !important;
    }
    .el-tabs__item {
        color: $fc-blue !important;
        width: 80px;
        height: 40px;
        padding: 0;
        display: inline-block;
        text-align: center;
        margin: 0 20px;
        &:nth-child(2) {
            margin-left: 0;
        }
        &.is-active {
            border-bottom: 2px solid $bg-blue;
        }
    }
    .circle_list {
        width: 790px;
        display: inline-block;
        vertical-align: top;
        .circle_item {
            width: 740px;
            padding: 30px 20px 12px 30px;
            margin-top: 10px;
            background: $bg-white;
            .circle_left {
                display: inline-block;
                vertical-align: top;
                width: 50px;
                .logo {
                    width: 50px;
                    height: 50px;
                    border-radius: 50%;
                    img {
                        display: inline-block;
                        width: 100%;
                        height: 100%;
                        border-radius: 50%;
                    }
                }
            }
            .circle_con {
                padding-left: 5px;
                display: inline-block;
                vertical-align: top;
                max-width: 100%;
                .name {
                    padding-top: 5px;
                    font-size: 16px;
                    color: $fc-base;
                }
                .date {
                    color: $fc-gray;
                    line-height: 28px;
                }
                .content {
                    color: $fc-title-gray;
                    width: 680px;
                }
                .pictrue {
                    margin-top: 10px;
                    margin-bottom: 20px;
                    width: 170px;
                    height: 170px;
                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
                .circle_foot {
                    .time_left {
                        float: left;
                        color: $fc-blue;
                    }
                    .right_out {
                        float: right;
                    }
                    .zan {
                        color: $fc-gray;
                        width: 70px;
                        margin-right: 25px;
                        display: inline-block;
                        border-right: 1px solid $border-gray-dark;
                        i {
                            display: inline-block;
                            width: 16px;
                            height: 16px;
                            vertical-align: middle;
                            background: url('../img/circle.png') center center no-repeat;
                            background-size: contain;
                        }
                    }
                    .fenxiang {
                        width: 70px;
                        color: $fc-gray;
                        display: inline-block;
                        i {
                            display: inline-block;
                            vertical-align: middle;
                            margin-right: 8px;
                            width: 16px;
                            height: 16px;
                            background: url('../img/comment.png') center center no-repeat;
                        }
                    }
                }
            }
        }
        .pagenation {
            .page-bar {
                padding: 40px 0;
            }
            ul {
                text-align: center;
            }
        }
    }
    .user_info {
        display: inline-block;
        vertical-align: top;
        margin-top: 10px;
        margin-left: 16px;
        width: 390px;
        height: 260px;
        background: $bg-white;
        position: relative;
        .fatie {
            background-color: $bg-blue;
            color: #fff;
            display: inline-block;
            width: 60px;
            line-height: 25px;
            text-align: center;
            margin-bottom: 10px;
        }
        img {
            width: 100%;
            height: 140px;
        }
        .user_info_content {
            width: 100%;
            height: 100%;
            text-align: center;
            position: absolute;
            top: 0;
            left: 0;
            margin-top: 90px;
        }
        .logo {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            overflow: hidden;
            margin: 0 auto;
            img {
                width: 100%;
                height: 100%;
            }
        }
        .user_name {
            margin: 0 auto;
            font: 400 16px/32px "Microsoft Yahei";
        }
        .j-tip-con {
            display: flex;
            margin-top: 25px;
            .left {
                flex: 1;
                text-align: center;
                border-right: 1px solid $border-gray-dark;
            }
            .right {
                flex: 1;
                text-align: center;
            }
        }
    }
}


/*聚学院 线上线下培训 */

.online {
    padding: 0 10px;
    margin-top: 20px;
    .banner_content {
        margin-bottom: 40px;
        .banner_main {
            width: 890px;
            display: inline-block;
            vertical-align: top;
            .swiper-pagination {
                width: 875px;
                padding-right: 15px;
                text-align: right;
                .swiper-pagination-bullet {
                    width: 12px;
                    height: 12px;
                    background: $bg-gray;
                    &.swiper-pagination-bullet-active {
                        background: $fc_white;
                    }
                }
            }
        }
        .banner_con {
            margin-left: 6px;
            width: 280px;
            display: inline-block;
            vertical-align: top;
            .banner_top,
            .banner_bottom {
                width: 280px;
                height: 265px;
                margin-bottom: 10px;
                img {
                    width: 100%;
                    height: 100%;
                }
            }
            .banner_bottom {
                margin-bottom: 0;
            }
        }
    }
    .main_online {
        .el-tabs__header {
            background: $bg-white;
        }
        .el-tabs__nav-wrap::after,
        .el-tabs__active-bar {
            display: none;
        }
        .el-tabs--bottom .el-tabs__item:nth-child(2),
        .el-tabs--top .el-tabs__item:nth-child(2) {
            padding: 0px 16px;
        }
        .el-tabs--bottom .el-tabs__item:last-child,
        .el-tabs--top .el-tabs__item:last-child {
            padding: 0px 16px;
            margin-left: 20px;
        }
        .el-tabs__item:hover {
            color: $fc-blue;
        }
        .el-tabs__item.is-active {
            color: $fc-blue;
            border-top: 4px solid $border-blue;
        }
    }
    /* 线上培训 */
    .online_list {
        .online_item {
            width: 280px;
            display: inline-block;
            background: $bg-white;
            margin-right: 20px;
            margin-bottom: 20px;
            &:nth-child(4n) {
                margin-right: 0;
            }
            .online_top {
                width: 280px;
                height: 150px;
                img {
                    width: 100%;
                    height: 100%;
                }
            }
            .online_bottom {
                padding: 10px;
            }
            p.title {
                font-size: 16px;
                font-weight: 500;
                line-height: 24px;
                color: $fc-title-gray;
            }
            .footer {
                line-height: 22px;
                color: $fc-title-gray;
                display: flex;
                .name {
                    flex: 1;
                    display: inline-block;
                    text-align: left;
                }
                .date {
                    flex: 1;
                    text-align: right;
                    display: inline-block;
                }
            }
        }
    }
    /* 线下培训 */
    .offline_list {
        .offline_item {
            width: 280px;
            display: inline-block;
            background: $bg-white;
            margin-right: 20px;
            margin-bottom: 20px;
            &:nth-child(4n) {
                margin-right: 0;
            }
            a {
                color: $fc-base;
            }
            .offline_top {
                width: 280px;
                height: 150px;
                overflow: hidden;
                position: relative;
                img {
                    width: 100%;
                    height: 100%;
                }
                .offline_tips {
                    position: absolute;
                    bottom: -30px;
                    left: 0;
                    width: 100%;
                    height: 30px;
                    line-height: 30px;
                    display: flex;
                    transition: bottom 0.5s;
                    -moz-transition: bottom 0.5s;
                    -webkit-transition: bottom 0.5s;
                    -o-transition: bottom 0.5s;
                    .left,
                    .right {
                        flex: 1;
                        text-align: center;
                        color: $fc-white;
                        background: rgba(0, 0, 0, .3);
                        a {
                            display: inline-block;
                            width: 100%;
                            height: 100%;
                            color: $fc_white;
                        }
                    }
                    .right {
                        margin-left: 3px;
                    }
                }
            }
            &:hover {
                .offline_tips {
                    bottom: 0;
                }
            }
            .offline_bottom {
                text-align: center;
                padding: 10px 0;
                .title {
                    font-size: 16px;
                    line-height: 24px;
                }
                .address,
                .date {
                    line-height: 20px;
                    color: $fc-title-gray;
                    i {
                        margin-right: 5px;
                    }
                }
            }
        }
    }
}


/* 发帖 */

.card {
    width: 1000px;
    margin: 0 auto;
    padding-top: 20px;
    .card_con {
        padding: 20px 40px;
        background: $bg-white;
        h2 {
            font-size: 18px;
            font-weight: 700;
        }
        .el-form-item {
            position: relative;
        }
        .card_form {
            padding-left: 40px;
            padding-top: 20px;
            .title {
                width: 480px;
                height: 40px;
                margin-bottom: 22px;
            }
            .textarea {
                width: 685px;
                height: 362px;
                padding: 10px 20px;
                outline-style: none;
                border: 1px solid $border-gray-dark;
                p {
                    line-height: 18px;
                }
                img {
                    margin-top: 20px;
                    width: 110px;
                    height: 110px;
                    vertical-align: middle;
                    display: inline-block;
                    margin-right: 20px;
                }
            }
            .avatar-uploader .el-upload {
                border: 1px dashed #d9d9d9;
                border-radius: 6px;
                cursor: pointer;
                position: absolute;
                bottom: 30px;
                left: 20px;
                overflow: hidden;
            }
            .avatar-uploader .el-upload:hover {
                border-color: #409EFF;
            }
            .avatar-uploader-icon {
                font-size: 28px;
                color: #8c939d;
                width: 80px;
                height: 80px;
                line-height: 80px;
                text-align: center;
            }
            .avatar {
                width: 80px;
                height: 80px;
                display: block;
            }
            .el-button {
                width: 180px;
                height: 55px;
                font-size: 16px;
                color: $fc-white;
                &:nth-child(1) {
                    background: $bg-blue;
                }
                &:nth-child(2) {
                    color: $fc-gray;
                }
            }
        }
    }
}